<%@ page language="java" contentType="text/html; charset=UTF-8" import="org.springframework.ui.ModelMap" import="java.util.*,com.device.operating.entity.*"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/xasj/easyui/themes/color.css">
<script type="text/javascript" src="/xasj/easyui/jquery.min.js"></script>
<script type="text/javascript" src="/xasj/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="/xasj/js/dvoperate/oltedit.js"></script>
<script type="text/javascript">
</script>
<%Olt olt=(Olt)request.getAttribute("olt");%>
</head>
<body>
<input id="oltdvmodelId"value="<%=olt.getDvmodelId()%>" style="display:none">
<input id="jfId"value="<%=olt.getJfId()%>"style="display:none">
<input id="oltId" value="<%=olt.getOltId()%>" style="display:none"/>
<div id="aa" class="easyui-panel" title="OLT相信信息编辑"  data-options="fit:true,animate:false">
		<table style="padding-top:25px;padding-left:10px" 
		border="1" bordercolor="#666666" cellspacing="0" cellpadding="0" width="100%"  >
		<tr height="40px">
		<td width="10%">节点名称：</td>		
		<td width="20%">
		<input id="oltname" class="easyui-validatebox " data-options="required:true" value="<%=olt.getOltname()%>"style="width:99%;height:100%" >
		</td>
		<td width="10%">设备类型：</td>				
		<td width="20%">
		<input id="olttype" value="<%=olt.getOlttype()%>" style="width:99%;height:100%" disabled="true"/>
		</td>
		<td width="10%">PON口类型：</td>				
		<td width="30%">
		<input id="oltpontype" value="<%=olt.getOltpontype()%>" style="width:99%;height:100%" disabled="true"/>
		</td>
		</tr>
		<tr height="40px">
		<td width="10%">IP地址：</td>		
		<td width="20%">
		<input id="oltip" class="easyui-validatebox " data-options="required:true" value="<%=olt.getOltip()%>"style="width:99%;height:100%" >
		</td>
		<td width="10%">网关：</td>				
		<td width="20%">
		<input id="oltgw" class="easyui-validatebox " data-options="required:true" value="<%=olt.getOltgw()%>" style="width:99%;height:100%" />
		</td>
		<td width="10%">IP地址段：</td>				
		<td width="30%">
		<input id="oltiprange" class="easyui-validatebox " data-options="required:true" value="<%=olt.getIprange()%>" disabled="true" style="width:99%;height:100%"/>
		</td>
		</tr>
		<tr height="40px">
		<td width="10%">IP地址段起始：</td>		
		<td width="20%">
		<input id="oltipbegin" class="easyui-validatebox " data-options="required:true,validType:'ip'" value="<%=olt.getOltipbegin()%>"style="width:99%;height:100%" >
		</td>
		<td width="10%">IP地址段终止：</td>				
		<td width="20%">
		<input id="oltipend" class="easyui-validatebox " data-options="required:true,validType:'ip'" value="<%=olt.getOltipend()%>" style="width:99%;height:100%" />
		</td>
		</tr>
		<tr  height="40px" id="xhrow"></tr>	
		<tr height="40px" id="jfrow"></tr>	
		<tr height="40px">
		<td>PON口总数：</td>		
		<td >
		<input id="oltponnum"  value="<%=olt.getOltponnum()%>"  disabled="true" style="width:99%;height:100%"/>
		</td>
		<td>可用PON口数</td>				
		<td>
		<input id="availponnum"  value="<%=olt.getOltuseponnum()%>" disabled="true" style="width:99%;height:100%"/>
		</td>
		<td></td>				
		<td>

		
		</td>
		</tr>
		<tr height="40px">
		<td>pppoe vlan：</td>
		<td><input id="oltpppv"  value="<%=olt.getOltpppv()%>" class="easyui-numberbox" data-options="required:true" style="width:99%;height:100%"/></td>
		<td>语音IP段起始</td>
		<td>
		<input id="voipbegin" value="<%=olt.getVoipbegin()%>" class="easyui-validatebox" data-options="required:true,validType:'ip'" style="width:99%;height:100%"/>
		</td>
		<td>语音IP段终止</td>
		<td>
		<input id="voipend" value="<%=olt.getVoipend()%>" class="easyui-validatebox" data-options="required:true,validType:'ip'" style="width:99%;height:100%"/>
		</td>
		</tr>
		<tr height="40px">
		<td>iptv vlan：</td>
		<td>
		<input id="oltiptvv" value="<%=olt.getOltiptvv()%>" class="easyui-numberbox" data-options="required:true" style="width:99%;height:100%"/>
		</td>
		<td>预留 vlan：</td>
		<td>
		<input id="oltylv" value="<%=olt.getOltylv()%>" class="easyui-numberbox " data-options="required:true" style="width:99%;height:100%"/>
		</td>
		<td>voip vlan：</td>
		<td>
		<input id="oltvpv" value="<%=olt.getOltvpv()%>" class="easyui-numberbox " data-options="required:true" style="width:99%;height:100%"/>
		</td>
		</tr>
		
		<tr height="40px">
		<td>录入日期：</td>
		<td>
		<input id="creatdate" value="<%=olt.getCreatdate()%>" class="easyui-numberbox" data-options="required:true" disabled="true" style="width:99%;height:100%"/>
		</td>
		<td >备注：</td>
		<td colspan="3"><input id="oltremark" value="<%=olt.getOltremark()%>"  style="width:99%;height:100%"/></td>
		</tr>
		<tr height="55px">
		<td></td>
		<td colspan="5">
		<a id="compledit" class="easyui-linkbutton c8" style="width:150px;height:32px">完成编辑</a>
		<a id="dvtp" class="easyui-linkbutton c8" style="width:150px;height:32px">设备拓扑</a>
		<a id="deleteolt"class="easyui-linkbutton c8" style="width:150px;height:32px">删除设备</a>
		</td>
		</tr>
		</table>
		
		</div>

</body>
</html>